package wiki.kaizen.cloud.security.session.support.service;

import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authz.AuthorizationInfo;
import org.apache.shiro.subject.PrincipalCollection;

public interface RealmService {
    AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principals);
    AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken token,String name);
}
